#ifndef __HEAD_H__
#define __HEAD_H__

#include <func.h>

typedef struct train_s
{
    int length;
    char data[1000];
} train_t;

enum
{
    CD,LS,PUTS,GETS,REMOVE,PWD,MKDIR,RMDIR

} ;

int epollAdd(int epfd, int fd);
int epollDel(int epfd, int fd);
int whichOrder(char* orderList,int* orderflag,char* args);
int transOrder(int sockfd,int orderflag,char* args);


#endif

